//
//  UserTableViewCell.m
//  LoverGo
//
//  Created by yexiao on 14-9-10.
//  Copyright (c) 2014年 yexiao. All rights reserved.
//

#import "UserTableViewCell.h"

@implementation UserTableViewCell

-(id)initWithLabel:(NSString *)titleStr
{
    self = [super init];
    if (self) {
        //点击不要出阴影
        self.selectionStyle = UITableViewCellSelectionStyleNone;
        UILabel *_textLab = [[UILabel alloc] initWithFrame:CGRectMake(10, 0, 250, 40)];
        [_textLab setText:titleStr];
        UIImageView *imgView = [[UIImageView alloc]initWithImage:[UIImage imageNamed:@"ico_next.png"]];
        [imgView setFrame:CGRectMake(300, 11, 10, 18)];
        [self addSubview:imgView];
        [self addSubview:_textLab];
    }
    return self;
}

@end
